package com.haixiaoke.saas.enterprise.department.controller;

import java.util.List;
import javax.servlet.http.HttpServletResponse;

import com.haixiaoke.saas.common.annotation.Log;
import com.haixiaoke.saas.common.constant.TenantConstants;
import com.haixiaoke.saas.common.core.domain.AjaxResult;
import com.haixiaoke.saas.common.core.page.TableDataInfo;
import com.haixiaoke.saas.common.enums.BusinessType;
import com.haixiaoke.saas.common.utils.poi.ExcelUtil;
import com.haixiaoke.saas.department.domain.ElectronicVisaSignProgress;
import com.haixiaoke.saas.department.service.IElectronicVisaSignProgressService;
import com.haixiaoke.saas.system.BaseController;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 电子签签署进度Controller
 * 
 * @author panda
 * @date 2024-06-13
 */
@RestController
@RequestMapping("/enterprise/department/signProgress")
public class EnterPriseElectronicVisaSignProgressController extends BaseController {
    @Autowired
    private IElectronicVisaSignProgressService electronicVisaSignProgressService;

    /**
     * 查询电子签签署进度列表
     */
    @GetMapping("/list")
    public AjaxResult list(ElectronicVisaSignProgress electronicVisaSignProgress) {
        List<ElectronicVisaSignProgress> list = electronicVisaSignProgressService.selectElectronicVisaSignProgressList(electronicVisaSignProgress);
        return success(list);
    }
}
